import React, { Component } from 'react'

export default class NotFound extends Component {
    render() {
        return (
            <div>
                <h2>404</h2>
                <p>
                    <button onClick={ () => {this.props.history.push('/home')} }>返回首页</button>
                </p>
            </div>
        )
    }
}
